import { BasePageQo } from '@/base/api/BaseQo'

export type SysMessageListVo = {
  // [[ OnflowGenerator Range (- listVo -) Start ]]
  id: number
  title: string
  content: string
  systemSend: boolean
  receiveUser: number
  sendUser: number
  url?: string
  readState: boolean
  platformType: string
  moduleName: string
  remark?: string
  createUser: number
  updateUser: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- listVo -) End ]]
}

export type SysMessageDetailVo = {
  // [[ OnflowGenerator Range (- detailVo -) Start ]]
  id: number
  title: string
  content: string
  systemSend: boolean
  receiveUser: number
  sendUser: number
  url?: string
  readState: boolean
  platformType: string
  moduleName: string
  remark?: string
  createUser: number
  updateUser: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- detailVo -) End ]]
}

export type SysMessageSearchQo = BasePageQo & {
  // [[ OnflowGenerator Range (- pageQo -) Start ]]
  id?: number
  title?: string
  content?: string
  systemSend?: boolean
  receiveUser?: number
  sendUser?: number
  url?: string
  readState?: boolean
  platformType?: string
  moduleName?: string
  remark?: string
  createUser?: number
  updateUser?: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- pageQo -) End ]]
}

export type SysMessageEditQo = {
  // [[ OnflowGenerator Range (- editQo -) Start ]]
  id?: number
  title?: string
  content?: string
  systemSend?: boolean
  receiveUser?: number
  sendUser?: number
  url?: string
  readState?: boolean
  platformType?: string
  moduleName?: string
  remark?: string
  createUser?: number
  updateUser?: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- editQo -) End ]]
}

export type SysMessageNotReadCountVo = {
  siteMessageCount: number
}
